/**
 * @Author DengJia
 * @Date 2021/7/29 21:45
 * @Description == 和 != 比较的是对象的引用
 */

public class EquivalenceDemo {
    public static void main(String[] args) {
        Integer i1 = new Integer(70);
        Integer i2 = new Integer(70);

        System.out.println(i1 == i2); // false
        System.out.println(i1 != i2); // true
    }
}
